var news=document.getElementById("news");
var myul=document.getElementById('myul');
var news_left=document.getElementById("news_left");
var news_right=document.getElementById("news_right");

var leader=0;
var target=0;


news_left.onclick=function(){
	
	target=target+900;
	window.alert("ni a ");
	
}

setInterval("lunbo()",30);
function lunbo(){
	if(target>=0){
		target=0;
	}
	if(target<=-1065){
		target=-1065;
	}
	leader=leader+(target-leader)/10;
	myul.style.left=leader+"px";
}
